# 错误IP测试 - 包含空格的IP
# 预期结果：不应报警，因为IP地址包含空格

invalid_ip1 = "192. 168.1.1"     # 点号后空格
invalid_ip2 = "192 .168.1.1"     # 点号前空格
invalid_ip3 = "192.168. 1.1"      # 数字间空格

# 使用这些IP的配置
configs = [
    {
        "server_ip": invalid_ip1,
        "description": "点号后有空格的IP地址"
    },
    {
        "server_ip": invalid_ip2,
        "description": "点号前有空格的IP地址"
    },
    {
        "server_ip": invalid_ip3,
        "description": "数字间有空格的IP地址"
    }
]

print("测试包含空格的IP地址:")
for config in configs:
    print(f"IP: {config['server_ip']} - {config['description']}")